import {get , post } from "@/utils/request"

//  我的阅读api
export const myReadApi = async () => {
    let ret = await get(`/api/books`);
    return ret.data
}

// 我的评论 api
export const mycritic = async () => {
    let ret = await get(`/api/critic`)
    return ret.data
}

// 书友汇
export const friendApi = async  () => {
    let ret = await get(`/api/friend`)
    return ret.data
}

// 帮助
export const helpApi = async  () => {
    let ret = await get(`/api/help`)
    return ret.data
}
// 主播
export const attentionApi = async  () => {
    let ret = await get(`/api/attention`)
    return ret.data
}